package org.dreamwork.tools.code.analyzer.core.data.schema;

import org.dreamwork.persistence.*;

public class CountedSchema extends DatabaseSchema {
	public  CountedSchema () {
		tableName = "_counted";
		fields = new String[] {"_id", "_entity_id", "_type", "_amount"};
	}

	@Override
	public String getPrimaryKeyName () {
		return "_id";
	}

	@Override
	public String getCreateDDL () {
		return "create table _counted (" +
"    _id             text            not null primary key," +
"    _entity_id      text," +
"    _type           text,                                       " +
"    _amount         integer" +
")";
	}
}